const http = uni.$u.http

// 获取菜单
export const fetchMenu = (params, config = {}) => http.post('/api/public_api/index', params, config)
export const home_recommend = (params) => http.get('/mag/info/v2/channel/channelConfigById', {params:{channel_id:"41"}})
export const home_menu = () => http.get('/api/mall/index/detail')
export const category_tabsList = () => http.get('/api/mall/goods/category/list')
export const category_productList = (params) => http.post('/api/mall/goods/category/product/page',params)
export const discover_list = (params) => http.get('/api/mall/store/case/rec/page',{params:params})